home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1993 November / JCSM Shareware Collection - 1993-11.iso / cl060 / pskdnw14.lzh / INSTALL.BAT next >
Encoding:
DOS Batch File  |  1993-09-15  |  2.8 KB  |  97 lines

  1. echo off
  2. cls
  3. if %2x==x goto NODRIVE
  4. echo All disk drive designations must end with colons. For instance, drive C is
  5. echo designated as "C:", not "C". Make absolutely sure that you have designated
  6. echo your hard disk correctly.
  7. echo .
  8. echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
  9. pause
  10. echo off
  11. cls
  12. echo Installing the program onto your hard disk requires 1.5MB of free space.
  13. echo If you're not SURE that much is free, press Control-C to abort; otherwise,
  14. pause
  15. echo off
  16. cls
  17. %2
  18. cd\
  19. md PS
  20. cls
  21. cd\PS
  22. if not exist M-JOURN.LBF goto SKIPBACK
  23. echo If you're a registered user, please ensure that you have a reliable backup
  24. echo of your current data.    You should keep this backup indefinitely.
  25. echo If you don't have such a backup, press Control-C and make it; otherwise,
  26. pause
  27. :SKIPBACK
  28. cls
  29. if exist upgrd.exe erase upgrd.exe
  30. copy %1*.*
  31. if exist t7.hlp erase t?.hlp
  32. cls
  33. echo just a minute...
  34. if exist lb-rate.dat rename lb-*.dat lb-*.lbf
  35. if exist m-group.dat rename m-gr*.dat m-gr*.lbf
  36. if exist recur.dat rename r*.dat r*.lbf
  37. if exist recoff.daf rename recoff.daf recoff.lbf
  38. if exist incexpns.dat rename incexpns.dat incexpns.lbf
  39. if exist printdoc.bat erase printdoc.bat
  40. if exist export.exe erase export.exe
  41. if exist manual erase manual.*
  42. if exist help erase help
  43. if exist messages erase messages
  44. if exist blankcal erase blank*
  45. if exist alarm.dat erase alar*.da*
  46. if exist mainprog.exe erase mainprog.*
  47. if exist sample.lbt erase sample*.??t
  48. if exist printers.lbf erase printers.lbf
  49. if exist pc-beep.exe erase pc-beep.exe
  50. cls
  51. if not exist m-journ.lbf goto EXTRACT
  52. echo                              VERY IMPORTANT
  53. echo .
  54. echo .
  55. echo Now,  some program files will be extracted from an archive.   Before each
  56. echo file is extracted,  a check will be made to see whether a similarly named
  57. echo one already exists on your hard disk.  If so, you'll be asked whether you
  58. echo wish to overwrite it with a new copy.
  59. echo .
  60. echo              ALWAYS ANSWER "NO" (BY PRESSSING THE "N" KEY).
  61. echo .
  62. echo .
  63. pause
  64. cls
  65. :EXTRACT
  66. pskd
  67. erase pskd.exe
  68. mainprog u %2 ~1
  69. mainprog i ~1
  70. mainprog t cities
  71. rem echo off
  72. cls
  73. if exist 1sttime.fyl erase 1sttime.fyl
  74. if exist m-journ.lbf goto NOTFIRST
  75. mainprog p
  76. mainprog w
  77. mainprog m
  78. :NOTFIRST
  79. rem echo off
  80. cls
  81. echo      To use the program, go to the PS directory on drive %2 and enter
  82. echo "PS xxx" (where xxx are your initials).  For example, if your initials
  83. echo were ABC, you would enter "PS ABC" (without the quotes) to use program.
  84. echo .
  85. echo .
  86. pause
  87. goto END
  88. :NODRIVE
  89. cls
  90. echo .
  91. echo      You must designate BOTH the SOURCE diskette and the HARD disk
  92. echo .
  93. echo example:  B:INSTALL B: C:   will install program from drive B to drive C:
  94. echo .
  95. echo            PLEASE TRY AGAIN
  96. :END
  97.